package com.itheima.safe.service;

import com.aliyuncs.exceptions.ClientException;

import java.util.List;

public interface AliyunSafeService {

    /**
     * 批量文本安全风控检测
     * @param content
     * @return
     */
    boolean verifyContent(List<String> content) throws Exception;


    /**
     * 图片内容安全检测（多个）
     */
    boolean verifyImage(List<byte[]> images) throws ClientException;
}
